{% extends "forms/form_base.html" %}
{% load fieldsets %}

{% comment %}
<!--
Django blocks: form_id, form_url, jquery_form_selector, form_div
are located in the base_form.html template file, and
are used for the AJAX post/response form functionality.
-->
{% endcomment %}

{% block form_id %}person_form{% endblock %}
{% block form_url %}{% url person_form %}{% endblock %}
{% block jquery_form_selector %}#person_form{% endblock %}
{% block form_div %}#person{% endblock %}

{% block content %}
  {% get_fieldset title,first_name,middle_names,last_name,known_as,sex,date_of_birth as primary_fields from form %}
  {% get_fieldset address,personal_email,work_email,personal_phone,work_phone,notes as secondary_fields from form %}
  {% include "forms/form_two_tables.html" %}
{% endblock %}